User-adaptable Prettyprinting

نویسندگان

  • Günther Blaschek
  • Johannes Sametinger
چکیده

SUMMARY This paper presents a prettyprinter for high-level languages that can be adapted to the personal preferences of an individual user or to particular project conventions. The customization of the prettyprinter is done by means of a user profile with a set of parameters. The available parameters have been chosen with respect to minimality of the user interface and reasonable flexibility. The paper includes a complete list of all parameters with examples. The prettyprinter is fairly portable; it consists of a language independent back end and a front end that is created by a compiler generator from a formal description of the language to be processed. Currently, a Modula-2 and a Pascal version of the prettyprinter are implemented.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Bibliography prettyprinting and syntax checking

bzbview is intended for small personal databases. There may be problems with databases consisting of more than 1000 entries. It is desirable to search in more than one database. The consistency check should be more sophisticated and, for example, look for duplicate entries. The algorithm for key generation is fixed. The user should be able to define his own method for key generation. Comments i...

متن کامل

Prettyprinting without Losing Comments

The problem of prettyprinting in generated programming environments is addressed. A practical solution for the prettyprinting process itself as well as for the handling of comments is given. A new box-language is presented for specifying prettyprint rules in an algebraic way. Both the syntax and the semantics of this box-language are formalized. Instead of designing and implementing a formattin...

متن کامل

Adaptable Utterances in Voice User Interfaces to Increase Learnability

Copyright © 2018 for this paper held by its author(s). Copying permitted for private and academic purposes. Abstract Voice User Interfaces (VUIs) are growing in popularity as a method of controlling smart home features. However, as VUIs grow in popularity, major obstacles still negatively impact their performance and user experience. Since VUIs are invisible by nature, users find it difficult t...

متن کامل

Khepera: A System for Rapid Implementation of Domain Speci c Languages

The Khepera system is a toolkit for the rapid implementation and long-term maintenance of domain speci c languages (DSLs). Our viewpoint is that DSLs are most easily implemented via source-tosource translation from the DSL into another language and that this translation should be based on simple parsing, sophisticated tree-based analysis and manipulation, and source generation using prettyprint...

متن کامل

Bibliography Prettyprinting and Syntax Checking

References 414 Index 415 List of Tables 1 Sample bibclean initialization file. 401 2 Escape sequences in quoted strings. 401 3 Initialization file pattern characters. 402

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Softw., Pract. Exper.

دوره 19  شماره 

صفحات  -

تاریخ انتشار 1989